package com.dingwen.spsest.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.dingwen.spsest.entity.MenuEntity;

import java.util.List;

/**
 * menu service
 *
 * @author dingwen
 * 2021.05.18 15:56
 */
public interface MenuService extends IService<MenuEntity> {
    /**
     * 根据用户ID查询菜单信息
     *
     * @param userId 用户id
     * @return {@link List <MenuEntity>}
     */
    List<MenuEntity> selectMenuByUserId(Integer userId);
}
